package com.eshopkeeper.dao.user;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.eshopkeeper.core.base.BaseMapper;
import com.eshopkeeper.model.user.UserSession;

public interface UserSessionMapper extends BaseMapper<UserSession> {

    void deleteBySessionId(@Param("sessionId") String sessionId);

    Long queryBySessionId(@Param("sessionId") String sessionId);

    List<String> querySessionIdByAccount(@Param("account") String account);
}